package com.tedu.admin.dao;

import com.tedu.pojo.Information;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface NewsDao {


    @Select("SELECT * FROM information LIMIT #{currentpage},50")
    List<Information> getNewsByNo(int currentpage);
}
